//package com.ocl.www.controller;
//
//import org.springframework.messaging.handler.annotation.MessageMapping;
//import org.springframework.messaging.simp.annotation.SendToUser;
//import org.springframework.stereotype.Controller;
//
///**
// * Created by Administrator on 2016/11/29.
// */
//@Controller
//public class WebSocketController {
//
//    @MessageMapping("/devices/info")
//    @SendToUser("/topic/devices/info")
//    public String getDevicesInfo(){
//        System.out.println("recevie!");
//        return "response test";
//
//    }
//
//}
